import { configureStore} from "@reduxjs/toolkit";
import { authSlice } from "./reducer/authSlice";
// import thunkMiddleware from 'redux-thunk'
// import { composeWithDevTools } from 'redux-devtools-extension'

// import {setupListeners} from "@reduxjs/toolkit/query"
// const composedEnhancer = composeWithDevTools(applyMiddleware(thunkMiddleware))
const store = configureStore({
  reducer:{
    auth: authSlice.reducer
  }

})


// setupListeners(store.dispatch)

export default store;


